package com.ruoyi.stock.domain;

import com.ruoyi.common.core.domain.BaseEntity;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.With;

/**
 * 股票日线行情信息对象 stock_daily
 *
 * @author ruoyi
 * @date 2021-10-23
 */
@EqualsAndHashCode(callSuper = true)
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@With
@ToString
public class StockNow extends BaseEntity {
  private static final long serialVersionUID = 1L;

  /** 股票代码 */
  private String symbol;

  /** 股票名称 */
  private String name;

  /** 市场类型 */
  private String market;

  /** 当前价格 */
  private BigDecimal now;

  /** 开盘价 */
  private BigDecimal open;

  /** 最高价 */
  private BigDecimal high;

  /** 最低价 */
  private BigDecimal low;

  /** 收盘价 */
  private BigDecimal close;

  /** 昨收价 */
  private BigDecimal preClose;

  /** 涨跌额 */
  private BigDecimal change;

  /** 涨跌幅 */
  private BigDecimal pctChg;

  /** 成交量（手） */
  private BigDecimal vol;

  /** 成交额（万元） */
  private BigDecimal amount;

  /** 交易日期 */
  private String tradeDate;

  private String tradeTime;

  Integer buy1Vol;
  BigDecimal buy1Amount;

  Integer buy2Vol;
  BigDecimal buy2Amount;

  Integer buy3Vol;
  BigDecimal buy3Amount;

  Integer buy4Vol;
  BigDecimal buy4Amount;

  Integer buy5Vol;
  BigDecimal buy5Amount;

  Integer sell1Vol;
  BigDecimal sell1Amount;

  Integer sell2Vol;
  BigDecimal sell2Amount;

  Integer sell3Vol;
  BigDecimal sell3Amount;

  Integer sell4Vol;
  BigDecimal sell4Amount;

  Integer sell5Vol;
  BigDecimal sell5Amount;
}
